home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Business / Area⁄ZIP Codes 3.1 / Area_ZIP Codes 3.1 / background_2114.xml next >
Extensible Markup Language  |  1992-01-06  |  57KB  |  829 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2114</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_44470.pbm</bitmap>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_14317.css" />
  11.     <part>
  12.         <id>16</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <true /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>166</left>
  23.             <top>80</top>
  24.             <right>203</right>
  25.             <bottom>99</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>9</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>12</textHeight>
  40.         <name>Dialing Preamble</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>14</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <true /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>81</left>
  55.             <top>35</top>
  56.             <right>233</right>
  57.             <bottom>48</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>9</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>12</textHeight>
  72.         <name>Country</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>13</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <true /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <true /> </fixedLineHeight>
  83.         <autoTab> <false /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>348</left>
  87.             <top>80</top>
  88.             <right>389</right>
  89.             <bottom>98</bottom>
  90.         </rect>
  91.         <style>transparent</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>left</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>9</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>12</textHeight>
  104.         <name>Country Code</name>
  105.         <script></script>
  106.     </part>
  107.     <part>
  108.         <id>1</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <true /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <true /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <false /> </lockText>
  117.         <rect>
  118.             <left>196</left>
  119.             <top>102</top>
  120.             <right>238</right>
  121.             <bottom>117</bottom>
  122.         </rect>
  123.         <style>transparent</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>left</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>9</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>12</textHeight>
  136.         <name>Area/City Code</name>
  137.         <script></script>
  138.     </part>
  139.     <part>
  140.         <id>9</id>
  141.         <type>button</type>
  142.         <visible> <true /> </visible>
  143.         <reserved5> 0 </reserved5>
  144.         <reserved4> 0 </reserved4>
  145.         <reserved3> 0 </reserved3>
  146.         <reserved2> 0 </reserved2>
  147.         <reserved1> 0 </reserved1>
  148.         <enabled> <true /> </enabled>
  149.         <rect>
  150.             <left>451</left>
  151.             <top>69</top>
  152.             <right>499</right>
  153.             <bottom>118</bottom>
  154.         </rect>
  155.         <style>transparent</style>
  156.         <showName> <false /> </showName>
  157.         <highlight> <false /> </highlight>
  158.         <autoHighlight> <true /> </autoHighlight>
  159.         <sharedHighlight> <true /> </sharedHighlight>
  160.         <family>0</family>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>center</textAlign>
  164.         <font>Chicago</font>
  165.         <textSize>12</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <name>Compact/Export</name>
  168.         <script>-- Includes the LockCursor 1.02 XCMD by Jeff Winkler-- Includes the WipeOut 1.1 XCMD by All-American Software Development Corp.on mouseUpglobal dialogHelp,exportFileif dialogHelp = on then exit mouseUpif the optionKey = down thenexportOnexit mouseUpend ifput round((the freeSize of this stack)/1000) into extraKput cd fld id 29 of cd id 3819 into autoFlagif autoFlag = off then put on into tempStringif autoFlag = on then put off into tempStringanswer "The size of the stack is" && round(the size of this stack/1000)¬¨&& "Kbytes." & return & "There are " & extraK & " free Kbyte(s) " & ¬¨"in this stack." with Compact or "Set Auto" or Cancelif it = "Set Auto" thenanswer "Turn" && tempString && "compacting on exit?" with OK ¬¨or Cancelif it = Cancel then exit mouseUpif it = OK thenput tempString into cd fld id 29 of cd id 3819exit mouseUpend ifend ifif it = Compact thenif exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on."¬¨with OKexit mouseUpend ifif (round(the diskSpace/1000)) < (round(the size of this stack/1000)+extraK) thenanswer "You don't have enough disk space to compact the stack!" with OKexit mouseUpend ifLockCursor stackwatchappear "Compact Alert",on,"70,131"doMenu "Compact Stack"beepappear "Compact Alert",offLockCursor pointerend ifif it = Cancel then exit mouseUpend mouseUpon exportOnglobal exportFile,deLim,newFileif exportFile ‚↠empty thenanswer "You already have exporting on!  Click on the" &&¬¨"Export Off (exclamation mark) button to turn it off." with OKexit exportOnend ifanswer "Turn on exporting?" with OK or Cancelif it = Cancel thenput "" into exportFileexit exportOnelseanswer "Do you want to append to an existing file or create a new one?"¬¨with Append or Create or Cancelif it = Cancel thenput "" into exportFileexit exportOnend ifif it = Append thenput no into newFileanswer file "Select the file to append to:" of type text or WDBN ¬¨or "FMK$" or WORDif the result = Cancel thenput "" into exportFileexit exportOnelseappear "Prepare Alert",on,"70,131"put it into exportFileopen file exportFilerepeat foreverread from file exportFile until returnif it = empty then exit repeatend repeatappear "Prepare Alert",offend ifend ifif it = Create thenput no into newFileask file "Create new file as:" with "Area/ZIP Export File"if the result = Cancel thenput "" into exportFileexit exportOnelseput yes into newFileput it into exportFileopen file exportFileend ifend ifput "tab,comma,slash,return" into popUpListwait for 5ShowDialog 4,130,"","","",popUpList,1put line 1 of the result into tempHolderif tempHolder = empty thenclose file exportFileif newFile = yes then WipeOut exportFileput "" into exportFileexit exportOnend ifif tempHolder = 1 then put tab into deLimif tempHolder = 2 then put "," into deLimif tempHolder = 3 then put "/" into deLimif tempHolder = 4 then put return into deLimlock screenshow bg btn id 58screenChangeend ifend exportOnon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Compact/Export",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Compact/Export",on,"211,70"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  169.     </part>
  170.     <part>
  171.         <id>2</id>
  172.         <type>field</type>
  173.         <visible> <true /> </visible>
  174.         <dontWrap> <true /> </dontWrap>
  175.         <dontSearch> <false /> </dontSearch>
  176.         <sharedText> <false /> </sharedText>
  177.         <fixedLineHeight> <true /> </fixedLineHeight>
  178.         <autoTab> <false /> </autoTab>
  179.         <lockText> <false /> </lockText>
  180.         <rect>
  181.             <left>324</left>
  182.             <top>35</top>
  183.             <right>427</right>
  184.             <bottom>49</bottom>
  185.         </rect>
  186.         <style>transparent</style>
  187.         <autoSelect> <false /> </autoSelect>
  188.         <showLines> <false /> </showLines>
  189.         <wideMargins> <false /> </wideMargins>
  190.         <multipleLines> <false /> </multipleLines>
  191.         <reservedFamily> 0 </reservedFamily>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>left</textAlign>
  195.         <font>Geneva</font>
  196.         <textSize>9</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <textHeight>12</textHeight>
  199.         <name>Time Zone</name>
  200.         <script></script>
  201.     </part>
  202.     <part>
  203.         <id>10</id>
  204.         <type>button</type>
  205.         <visible> <true /> </visible>
  206.         <reserved5> 0 </reserved5>
  207.         <reserved4> 0 </reserved4>
  208.         <reserved3> 0 </reserved3>
  209.         <reserved2> 0 </reserved2>
  210.         <reserved1> 0 </reserved1>
  211.         <enabled> <true /> </enabled>
  212.         <rect>
  213.             <left>225</left>
  214.             <top>278</top>
  215.             <right>283</right>
  216.             <bottom>307</bottom>
  217.         </rect>
  218.         <style>transparent</style>
  219.         <showName> <false /> </showName>
  220.         <highlight> <false /> </highlight>
  221.         <autoHighlight> <true /> </autoHighlight>
  222.         <sharedHighlight> <true /> </sharedHighlight>
  223.         <family>0</family>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>center</textAlign>
  227.         <font>Chicago</font>
  228.         <textSize>12</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <name>Next</name>
  231.         <script>on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUplock screenif the number of this cd = ((the number of cds) - 3) thengo nextgo nextelsego nextend ifscreenChangeend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Arrow",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Arrow",on,"92,137"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  232.     </part>
  233.     <part>
  234.         <id>3</id>
  235.         <type>field</type>
  236.         <visible> <true /> </visible>
  237.         <dontWrap> <true /> </dontWrap>
  238.         <dontSearch> <false /> </dontSearch>
  239.         <sharedText> <false /> </sharedText>
  240.         <fixedLineHeight> <true /> </fixedLineHeight>
  241.         <autoTab> <false /> </autoTab>
  242.         <lockText> <false /> </lockText>
  243.         <rect>
  244.             <left>74</left>
  245.             <top>58</top>
  246.             <right>427</right>
  247.             <bottom>71</bottom>
  248.         </rect>
  249.         <style>transparent</style>
  250.         <autoSelect> <false /> </autoSelect>
  251.         <showLines> <false /> </showLines>
  252.         <wideMargins> <false /> </wideMargins>
  253.         <multipleLines> <false /> </multipleLines>
  254.         <reservedFamily> 0 </reservedFamily>
  255.         <titleWidth>0</titleWidth>
  256.         <icon>0</icon>
  257.         <textAlign>left</textAlign>
  258.         <font>Geneva</font>
  259.         <textSize>9</textSize>
  260.         <textStyle>plain</textStyle>
  261.         <textHeight>12</textHeight>
  262.         <name>Region</name>
  263.         <script></script>
  264.     </part>
  265.     <part>
  266.         <id>11</id>
  267.         <type>button</type>
  268.         <visible> <true /> </visible>
  269.         <reserved5> 0 </reserved5>
  270.         <reserved4> 0 </reserved4>
  271.         <reserved3> 0 </reserved3>
  272.         <reserved2> 0 </reserved2>
  273.         <reserved1> 0 </reserved1>
  274.         <enabled> <true /> </enabled>
  275.         <rect>
  276.             <left>162</left>
  277.             <top>278</top>
  278.             <right>220</right>
  279.             <bottom>307</bottom>
  280.         </rect>
  281.         <style>transparent</style>
  282.         <showName> <false /> </showName>
  283.         <highlight> <false /> </highlight>
  284.         <autoHighlight> <true /> </autoHighlight>
  285.         <sharedHighlight> <true /> </sharedHighlight>
  286.         <family>0</family>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>center</textAlign>
  290.         <font>Chicago</font>
  291.         <textSize>12</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <name>Previous</name>
  294.         <script>on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUplock screengo prevscreenChangeend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Arrow",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Arrow",on,"92,137"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  295.     </part>
  296.     <part>
  297.         <id>26</id>
  298.         <type>button</type>
  299.         <visible> <true /> </visible>
  300.         <reserved5> 0 </reserved5>
  301.         <reserved4> 0 </reserved4>
  302.         <reserved3> 0 </reserved3>
  303.         <reserved2> 0 </reserved2>
  304.         <reserved1> 0 </reserved1>
  305.         <enabled> <true /> </enabled>
  306.         <rect>
  307.             <left>451</left>
  308.             <top>11</top>
  309.             <right>500</right>
  310.             <bottom>61</bottom>
  311.         </rect>
  312.         <style>transparent</style>
  313.         <showName> <false /> </showName>
  314.         <highlight> <false /> </highlight>
  315.         <autoHighlight> <true /> </autoHighlight>
  316.         <sharedHighlight> <true /> </sharedHighlight>
  317.         <family>0</family>
  318.         <titleWidth>0</titleWidth>
  319.         <icon>0</icon>
  320.         <textAlign>center</textAlign>
  321.         <font>Chicago</font>
  322.         <textSize>12</textSize>
  323.         <textStyle>plain</textStyle>
  324.         <name>Quit/Home</name>
  325.         <script>on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUpif the optionKey = down thendoMenu "Open Stack..."exit mouseUpend ifif the commandKey = down thenanswer file "Select an application to open:" of type APPLif the result = Cancel then exit mouseUpput it into appPathNameopen appPathNameexit mouseUpend ifanswer "Quit HyperCard or go home?" with Quit or Home or Cancelif it = Quit then doMenu "Quit HyperCard"if it = Home thenlock screengo homescreenChangeend ifif it = Cancel then exit mouseUpend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Quit/Home",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Quit/Home",on,"201,13"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  326.     </part>
  327.     <part>
  328.         <id>27</id>
  329.         <type>button</type>
  330.         <visible> <true /> </visible>
  331.         <reserved5> 0 </reserved5>
  332.         <reserved4> 0 </reserved4>
  333.         <reserved3> 0 </reserved3>
  334.         <reserved2> 0 </reserved2>
  335.         <reserved1> 0 </reserved1>
  336.         <enabled> <true /> </enabled>
  337.         <rect>
  338.             <left>451</left>
  339.             <top>126</top>
  340.             <right>500</right>
  341.             <bottom>176</bottom>
  342.         </rect>
  343.         <style>transparent</style>
  344.         <showName> <false /> </showName>
  345.         <highlight> <false /> </highlight>
  346.         <autoHighlight> <true /> </autoHighlight>
  347.         <sharedHighlight> <true /> </sharedHighlight>
  348.         <family>0</family>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>0</icon>
  351.         <textAlign>center</textAlign>
  352.         <font>Chicago</font>
  353.         <textSize>12</textSize>
  354.         <textStyle>plain</textStyle>
  355.         <name>Linked Button</name>
  356.         <script>-- Includes the TextDialog 1.3 XCMD by Jay Hodgdon-- Includes the GetType 2.0 XFCN by All-American Software Development Corp.on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUpif the optionKey = down thenanswer file "Select where you want this button to link to:"¬¨of type APPL or STAKif the result = Cancel thenput "" into cd fld id 30 of cd id 3819exit mouseUpend ifput it into tempPlaceput quote&tempPlace&quote into cd fld id 30 of cd id 3819put GetType(tempPlace) into linkTypeif linkType is STAK thenanswer "Open the stack "&quote&lastHCItem(":",tempPlace)&quote&" in a new window or close this stack first?" ¬¨with "New Window" or "Close Stack" or Cancelif it = "New Window" then put " new" after cd fld id 30 of cd id 3819if it = Cancel then put "" into cd fld id 30 of cd id 3819exit mouseUpend ifend ifif cd fld id 30 of cd id 3819 = empty thenanswer "You must link this button to somewhere first!" with Help or OKif it = Help thenTextDialog 128,Geneva,9,"128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148",8exit mouseUpend ifexit mouseUpend ifput word 1 of cd fld id 30 of cd id 3819 into tempPlaceput char 2 to (the number of chars in tempPlace-1) of tempPlace into tempPlaceput GetType(tempPlace) into linkTypeput quote&tempPlace&quote into tempPlaceif linkType = STAK thenput "go " before tempPlaceif word 2 of cd fld id 30 of cd id 3819 = "new" then put " in new window" after tempPlacelock screendo tempPlacescreenChangeexit mouseUpelseput "open " before tempPlacedo tempPlaceexit mouseUpend ifend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Linked",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Linked",on,"227,106"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  357.     </part>
  358.     <part>
  359.         <id>28</id>
  360.         <type>button</type>
  361.         <visible> <true /> </visible>
  362.         <reserved5> 0 </reserved5>
  363.         <reserved4> 0 </reserved4>
  364.         <reserved3> 0 </reserved3>
  365.         <reserved2> 0 </reserved2>
  366.         <reserved1> 0 </reserved1>
  367.         <enabled> <true /> </enabled>
  368.         <rect>
  369.             <left>451</left>
  370.             <top>183</top>
  371.             <right>499</right>
  372.             <bottom>274</bottom>
  373.         </rect>
  374.         <style>transparent</style>
  375.         <showName> <false /> </showName>
  376.         <highlight> <false /> </highlight>
  377.         <autoHighlight> <true /> </autoHighlight>
  378.         <sharedHighlight> <true /> </sharedHighlight>
  379.         <family>0</family>
  380.         <titleWidth>0</titleWidth>
  381.         <icon>0</icon>
  382.         <textAlign>center</textAlign>
  383.         <font>Chicago</font>
  384.         <textSize>12</textSize>
  385.         <textStyle>plain</textStyle>
  386.         <name>Find</name>
  387.         <script>-- Dual Find script by Kevin Hughes-- Includes the LockCursor 1.02 XCMD by Jeff Winkleron mouseUpglobal dialogHelp,findString,exportFile,deLimif dialogHelp = on then exit mouseUpput "" into cd fld 1 of cd id 72031if the optionKey = down thenfindOccurexit mouseUpend ifput word 1 of cd fld id 26 of cd id 3819 into findTypeask "Find what?" with findStringif it = empty then exit mouseUpLockCursor stackwatchput it into findStringpush cdput offset(",",findString) into findOffsetif findOffset > 0 thenput "" into cardNamerepeat with count = (findOffset+1) to (the number of chars in findString)if char count of findString = " " then next repeatput char count of findString after cardNameend repeatput char 1 to (findOffset-1) of findString into findStringrepeat with count = (the number of chars in findString) down to 1if char count of findString ‚↠space then exit repeatput "" into char count of findStringend repeatlock screenif (cardName = ns) or (cardName = pe) then put "NS/PE" into cardNameif cardName = "id" then put IDaho into cardNamego cd cardNamescreenChangeif findString = empty then exit mouseUpend ifrepeatappear "Find Alert",on,"70,131"LockCursor stackwatchif findType = Country then find string findString in bg fld id 14if findType = Region then find string findString in bg fld id 3if findType = Area thenfind string findString in bg fld id 1if the foundText is not in bg fld id 1 then find string findString in bg fld id 55end ifif findType = ZIP then find string findString in bg fld id 30if findType = Location then find string findString in bg fld id 4if findType = All then find string findStringif the foundText = empty thenappear "Find Alert",offbeepLockCursor pointeranswer "Sorry, I couldn't find that!" with Again or "Return" or Cancelif it = Again then send mouseUp to bg btn id 28if it = "Return" thenlock screenpop cardscreenChangeexit repeatexit mouseUpend ifif it = Cancel thenexit repeatexit mouseUpend ifend ifif the foundField = "bkgnd field 7" then set the scroll of fld 8 to the scroll of fld 7if the foundField = "bkgnd field 8" then set the scroll of fld 7 to the scroll of fld 8if the foundField = "bkgnd field 9" thenlock screensend mouseUp to bg btn id 54set the lockText of fld id 55 to truescreenChangeend ifif exportFile ‚↠empty thenif (the foundField = "bkgnd field 7") or¬¨(the foundField = "bkgnd field 8") thenappear "Export Alert",on,"70,131"put word 2 of the foundLine into lineNumput line lineNum of bg fld 7 & deLim & line lineNum of bg fld 8¬¨& deLim & bg fld id 3 & return into fileStringwrite fileString to file exportFileend ifend ifLockCursor pointerappear "Find Alert",offappear "Export Alert",offbeepanswer "Find again?" with OK or "Return" or Cancelif it = Cancel thenexit repeatexit mouseUpend ifif it = "Return" thenlock screenpop cdscreenChangeexit repeatexit mouseUpend ifif it = OK then next repeatend repeatend mouseUpon findOccurglobal occurString,exportFile,deLimput 0 into occurNumask "Find the number of occurrences of what?" with occurStringif it = empty then exit findOccurLockCursor pointerpush cdlock screengo cd id 3819screenChangeput it into occurStringput occurString into cd fld 1 of cd id 72031answer "Display matching text?" with OK or Noif it = OK then put on into displayFlagif it = No then put "" into displayFlagput "" into cd fld id 21 of cd ID 3819LockCursor stackwatchrepeatappear "Occur Alert",on,"70,131"find string occurStringif the short id of this cd = 72031 then exit repeatput the foundLine into theLineput word 2 of theLine into lineNumput the last char of theLine into fldCharif exportFile ‚↠empty thenif (fldChar = 7) or (fldChar = 8) thenappear "Export Alert",on,"70,131"put line lineNum of bg fld 7 & deLim & line lineNum of bg fld 8¬¨& deLim & bg fld id 3 & return into fileStringwrite fileString to file exportFileend ifend ifif displayFlag = on thenput 0 into foundFlagif fldChar = 8 thenput line lineNum of bg fld 8 & "/" after cd fld id 21 of cd id 3819put line lineNum of bg fld 7 & "/" after cd fld id 21 of cd id 3819put fld id 3 & return after cd fld id 21 of cd id 3819put 1 into foundFlagend ifif fldChar = 7 thenput line lineNum of bg fld 7 & "/" after cd fld id 21 of cd id 3819put line lineNum of bg fld 8 & "/" after cd fld id 21 of cd id 3819put fld id 3 & return after cd fld id 21 of cd id 3819put 1 into foundFlagend ifif fldChar = 6 thenput fld id 3 & "/" & fld id 14 & return after cd fld id 21 of cd id 3819put 1 into foundFlagend ifif (fldChar = 4) or (fldChar = 9) thenput "area code " & the value of(theLine) & "/" & fld id 3 & return after cd fld id 21 of cd id 3819put 1 into foundFlagend ifif foundFlag = 0 then put "** nonspecific text found in field **" & return after cd fld id 21 of cd id 3819end ifadd 1 to occurNumend repeatappear "Export Alert",offappear "Occur Alert",offput "" into cd fld 1 of cd id 72031LockCursor pointerif displayFlag = on and (occurNum > 0) thenlock screengo cd id 3819put "Here are the matching found ZIP codes and locations:" & return & return¬¨before cd fld id 21put return & "Click on this field to remove it, or option-click to print it." after cd fld id 21set textStyle of line 1 of cd fld id 21 to boldset textStyle of last line of cd fld id 21 to boldset the lockText of cd fld id 21 to trueshow cd fld id 21screenChangebeepanswer occurNum && "occurrences in the stack." with Again or Cancelif it = Again thenlock screenput "" into cd fld id 21hide cd fld id 21screenChangefindOccurexit findOccurend ifif it = Cancel then exit findOccurend iflock screenpop cdscreenChangeif occurNum = 0 then put No into occurNumanswer occurNum && "occurrences in the stack." with Again or Cancelif it = Again thenfindOccurexit findOccurend ifif it = Cancel then exit findOccurend findOccuron mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Find",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Find",on,"189,163"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  388.     </part>
  389.     <part>
  390.         <id>29</id>
  391.         <type>button</type>
  392.         <visible> <true /> </visible>
  393.         <reserved5> 0 </reserved5>
  394.         <reserved4> 0 </reserved4>
  395.         <reserved3> 0 </reserved3>
  396.         <reserved2> 0 </reserved2>
  397.         <reserved1> 0 </reserved1>
  398.         <enabled> <true /> </enabled>
  399.         <rect>
  400.             <left>236</left>
  401.             <top>34</top>
  402.             <right>321</right>
  403.             <bottom>49</bottom>
  404.         </rect>
  405.         <style>transparent</style>
  406.         <showName> <false /> </showName>
  407.         <highlight> <false /> </highlight>
  408.         <autoHighlight> <true /> </autoHighlight>
  409.         <sharedHighlight> <true /> </sharedHighlight>
  410.         <family>0</family>
  411.         <titleWidth>0</titleWidth>
  412.         <icon>0</icon>
  413.         <textAlign>center</textAlign>
  414.         <font>Chicago</font>
  415.         <textSize>12</textSize>
  416.         <textStyle>plain</textStyle>
  417.         <name>Time Zone</name>
  418.         <script>-- Time Locator script by Kevin Hughes-- Includes the LockCursor 1.02 XCMD by Jeff Winkleron mouseUpglobal newHour,newMinute,amPm,dialogHelp,dstFlagif dialogHelp = on then exit mouseUpput word 1 of cd fld id 9 of cd id 3819 into localZoneask "What is the region or area/city code you want the time of?"if it = empty then exit mouseUpput it into timeStringpush cdstackWaitappear "Find Alert",on,"70,131"put "" into otherZoneput "" into unCertainput offset(",",timeString) into findOffsetif findOffset > 0 thenput "" into cardNamerepeat with count = (findOffset+1) to (the number of chars in timeString)if char count of timeString = " " then next repeatput char count of timeString after cardNameend repeatput char 1 to (findOffset-1) of timeString into timeStringrepeat with count = (the number of chars in timeString) down to 1if char count of timeString ‚↠space then exit repeatput "" into char count of timeStringend repeatlock screenif (cardName = ns) or (cardName = pe) then put "NS/PE" into cardNameif cardName = "id" then put IDaho into cardNamego cd cardNamescreenChangeif timeString = empty then put cardName into timeStringend ifif timeString is a number thenput " area/city code!" into findTypefind string timeString in bg fld id 1if the foundText is not in bg fld id 1 then find string timeString in bg fld id 55if the foundField is "bkgnd field 9" thenlock screensend mouseUp to bg btn id 54set the lockText of fld id 55 to truescreenChangeend ifput the last char of (value of the foundLine) into otherZoneif (otherZone ‚↠"+") and (otherZone ‚↠"-") then put "" into otherZoneend ifif timeString is not a number thenput " region!" into findTypefind string timeString in bg fld id 3if the foundText is not in bg fld id 3 then find string timeString in bg fld id 14end ifbeepappear "Find Alert",offif the foundText = empty thenLockCursor pointeranswer "Sorry, I couldn't find that"&findType with Again or "Return" or Cancelif it = Again then send mouseUp to bg btn id 29if it = "Return" thenlock screenpop cardscreenChangeend ifexit mouseUpend ifput the time into oldTimeput char 1 to (offset(":",oldTime)-1) of oldTime into newHourput char (offset(":",oldTime)+1) to (the number of chars in word 1 of oldTime) of ¬¨oldTime into newMinuteput the last word of the time into amPmif (amPm = PM) and (newHour < 12) then add 12 to newHourif (amPm = AM) and (newHour = 12) then put 0 into newHourif char 1 of word 2 of bg fld id 2 is "+" then put "" into char 1 of word 2 of bg fld id 2put (word 2 of bg fld id 2)-localZone into diffRenceput diffRence into diffHourif "." is in diffRence thenput char 1 to offset(".",diffRence)-1 of diffRence into diffHourif char 1 of diffRence = "-" thendoHalf minuselsedoHalf plusend ifend ifif word 1 of cd fld id 27 of cd id 3819 = on thenif (bg fld id 14 ‚↠Canada) and (bg fld id 14 ‚↠USA) then subtract 1 from diffHourif Hawaii is in bg fld 6 then subtract 1 from diffHourif Arizona is in bg fld id 6 then subtract 1 from diffHourend ifif (word 1 of cd fld id 27 of cd id 3819 = off) and (dstFlag = yes) thenif (bg fld id 14 = Canada) or (bg fld id 14 = USA) then add 1 to diffHourif Hawaii is in bg fld 6 then subtract 1 from diffHourif Arizona is in bg fld id 6 then subtract 1 from diffHourend ifadd diffHour to newHourput (newHour mod 24) into newHourif (newHour‚â•12) and (newHour<24) thenput " PM" into amPmelseput " AM" into amPmend ifif newHour > 12 then subtract 12 from newHourif newHour = 0 then put 12 into newHourLockCursor pointerput bg fld id 3 into regionNameif findType = " area/city code!" thenput "area/city code" && timeString into regionNameelseif ("+" is in fld id 1) or ("+" is in fld id 55) then put "+" into otherZoneif ("-" is in fld id 1) or ("-" is in fld id 55) then put "-" into otherZoneend ifif "¬±" is in fld id 2 then put "¬±" into otherZoneif otherZone ‚↠empty then put " ("&otherZone&"1 hour)" into unCertainif "M" is not in oldTime thenif (amPm = " PM") and (newHour < 12) then add 12 to newHourif (amPm = " AM") and (newHour = 12) then put 0 into newHourput "" into amPmend ifput "Here it is " & oldTime & ". " into answerStringput "In " & regionName & " it is " after answerStringput newHour & ":" & newMinute & amPm & unCertain & "." after answerStringput " Find another time?" after answerStringanswer answerString with OK or "Return" or Cancelif it = OK then send mouseUp to bg btn id 29if it = "Return" thenlock screenpop cdscreenChangeend ifend mouseUpon doHalf whichWayglobal newHour, newMinuteput ((newMinute+30) mod 60) into newMinuteif whichWay = plus thenif newMinute < 30 thenadd 1 to newHourput newHour mod 24 into newHourend ifelseif newMinute ‚â• 30 thensubtract 1 from newHourput newHour mod 24 into newHourend ifend ifif newMinute = 0 then put 00 into newMinuteif newMinute < 10 then put "0" before newMinuteend doHalfon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Time Zone",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Time Zone",on,"156,52"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  419.     </part>
  420.     <part>
  421.         <id>40</id>
  422.         <type>button</type>
  423.         <visible> <true /> </visible>
  424.         <reserved5> 0 </reserved5>
  425.         <reserved4> 0 </reserved4>
  426.         <reserved3> 0 </reserved3>
  427.         <reserved2> 0 </reserved2>
  428.         <reserved1> 0 </reserved1>
  429.         <enabled> <true /> </enabled>
  430.         <rect>
  431.             <left>288</left>
  432.             <top>278</top>
  433.             <right>328</right>
  434.             <bottom>307</bottom>
  435.         </rect>
  436.         <style>transparent</style>
  437.         <showName> <false /> </showName>
  438.         <highlight> <false /> </highlight>
  439.         <autoHighlight> <true /> </autoHighlight>
  440.         <sharedHighlight> <true /> </sharedHighlight>
  441.         <family>0</family>
  442.         <titleWidth>0</titleWidth>
  443.         <icon>0</icon>
  444.         <textAlign>center</textAlign>
  445.         <font>Chicago</font>
  446.         <textSize>12</textSize>
  447.         <textStyle>plain</textStyle>
  448.         <name>Selective Find Button</name>
  449.         <script>on mouseUpglobal dialogHelp,exportFile,palLoc3if exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on." with OKexit mouseUpend ifif dialogHelp = on then exit mouseUppalette "Selective Find",palLoc3put word 1 of cd fld id 26 of cd id 3819 into findTypeif findType = Country then set hilitedButton of window "Selective Find" to 1if findType = ZIP then set hilitedButton of window "Selective Find" to 2if findType = Region then set hilitedButton of window "Selective Find" to 3if findType = Location then set hilitedButton of window "Selective Find" to 4if findType = Area then set hilitedButton of window "Selective Find" to 5if findType = All then set hilitedButton of window "Selective Find" to 6end mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Find Select",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Find Select",on,"26,249"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  450.     </part>
  451.     <part>
  452.         <id>30</id>
  453.         <type>field</type>
  454.         <visible> <true /> </visible>
  455.         <dontWrap> <true /> </dontWrap>
  456.         <dontSearch> <false /> </dontSearch>
  457.         <sharedText> <false /> </sharedText>
  458.         <fixedLineHeight> <true /> </fixedLineHeight>
  459.         <autoTab> <false /> </autoTab>
  460.         <lockText> <false /> </lockText>
  461.         <rect>
  462.             <left>18</left>
  463.             <top>142</top>
  464.             <right>103</right>
  465.             <bottom>275</bottom>
  466.         </rect>
  467.         <style>scrolling</style>
  468.         <autoSelect> <false /> </autoSelect>
  469.         <showLines> <false /> </showLines>
  470.         <wideMargins> <false /> </wideMargins>
  471.         <multipleLines> <false /> </multipleLines>
  472.         <reservedFamily> 0 </reservedFamily>
  473.         <titleWidth>0</titleWidth>
  474.         <icon>0</icon>
  475.         <textAlign>left</textAlign>
  476.         <font>Geneva</font>
  477.         <textSize>9</textSize>
  478.         <textStyle>plain</textStyle>
  479.         <textHeight>12</textHeight>
  480.         <name>ZIP Codes</name>
  481.         <script></script>
  482.     </part>
  483.     <part>
  484.         <id>4</id>
  485.         <type>field</type>
  486.         <visible> <true /> </visible>
  487.         <dontWrap> <true /> </dontWrap>
  488.         <dontSearch> <false /> </dontSearch>
  489.         <sharedText> <false /> </sharedText>
  490.         <fixedLineHeight> <true /> </fixedLineHeight>
  491.         <autoTab> <false /> </autoTab>
  492.         <lockText> <false /> </lockText>
  493.         <rect>
  494.             <left>87</left>
  495.             <top>142</top>
  496.             <right>427</right>
  497.             <bottom>275</bottom>
  498.         </rect>
  499.         <style>scrolling</style>
  500.         <autoSelect> <false /> </autoSelect>
  501.         <showLines> <false /> </showLines>
  502.         <wideMargins> <false /> </wideMargins>
  503.         <multipleLines> <false /> </multipleLines>
  504.         <reservedFamily> 0 </reservedFamily>
  505.         <titleWidth>0</titleWidth>
  506.         <icon>0</icon>
  507.         <textAlign>left</textAlign>
  508.         <font>Geneva</font>
  509.         <textSize>9</textSize>
  510.         <textStyle>plain</textStyle>
  511.         <textHeight>12</textHeight>
  512.         <name>Locations</name>
  513.         <script></script>
  514.     </part>
  515.     <part>
  516.         <id>44</id>
  517.         <type>button</type>
  518.         <visible> <true /> </visible>
  519.         <reserved5> 0 </reserved5>
  520.         <reserved4> 0 </reserved4>
  521.         <reserved3> 0 </reserved3>
  522.         <reserved2> 0 </reserved2>
  523.         <reserved1> 0 </reserved1>
  524.         <enabled> <true /> </enabled>
  525.         <rect>
  526.             <left>116</left>
  527.             <top>278</top>
  528.             <right>156</right>
  529.             <bottom>308</bottom>
  530.         </rect>
  531.         <style>transparent</style>
  532.         <showName> <false /> </showName>
  533.         <highlight> <false /> </highlight>
  534.         <autoHighlight> <true /> </autoHighlight>
  535.         <sharedHighlight> <true /> </sharedHighlight>
  536.         <family>0</family>
  537.         <titleWidth>0</titleWidth>
  538.         <icon>0</icon>
  539.         <textAlign>center</textAlign>
  540.         <font>Chicago</font>
  541.         <textSize>12</textSize>
  542.         <textStyle>plain</textStyle>
  543.         <name>Select Time Zone Button</name>
  544.         <script>on mouseUpglobal dialogHelp,exportFile,palLoc1,palLoc2if exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on." with OKexit mouseUpend ifif dialogHelp = on then exit mouseUppalette "Local Time Zone",palLoc2put word 1 of cd fld id 9 of cd id 3819 into zoneNumif zoneNum = 0 thenset hilitedButton of window "Local Time Zone" to 25else if zoneNum > 0 thenadd 12 to zoneNumset hilitedButton of window "Local Time Zone" to zoneNumelsemultiply zoneNum by -1set hilitedButton of window "Local Time Zone" to zoneNumend ifpalette DST,palLoc1if word 1 of cd fld id 27 of cd id 3819 = on thenset hilitedButton of window DST to 1elseset hilitedButton of window DST to 2end ifend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Zone Select",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Zone Select",on,"159,203"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  545.     </part>
  546.     <part>
  547.         <id>48</id>
  548.         <type>button</type>
  549.         <visible> <true /> </visible>
  550.         <reserved5> 0 </reserved5>
  551.         <reserved4> 0 </reserved4>
  552.         <reserved3> 0 </reserved3>
  553.         <reserved2> 0 </reserved2>
  554.         <reserved1> 0 </reserved1>
  555.         <enabled> <true /> </enabled>
  556.         <rect>
  557.             <left>337</left>
  558.             <top>101</top>
  559.             <right>405</right>
  560.             <bottom>119</bottom>
  561.         </rect>
  562.         <style>transparent</style>
  563.         <showName> <false /> </showName>
  564.         <highlight> <false /> </highlight>
  565.         <autoHighlight> <true /> </autoHighlight>
  566.         <sharedHighlight> <true /> </sharedHighlight>
  567.         <family>0</family>
  568.         <titleWidth>0</titleWidth>
  569.         <icon>0</icon>
  570.         <textAlign>center</textAlign>
  571.         <font>Chicago</font>
  572.         <textSize>12</textSize>
  573.         <textStyle>plain</textStyle>
  574.         <name>Canada</name>
  575.         <script>-- Includes the LockCursor 1.02 XCMD by Jeff Winkleron mouseUpglobal dialogHelp,exportFileif dialogHelp = on then exit mouseUpif the optionKey = down thenif exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on." with OKexit mouseUpend ifput on into dialogHelpappear "World Map",on,"43,39"put off into dialogHelpLockCursor trueLockCursor crosshairsexit mouseUpend ifglobal stackStatuslock screenpush cdput pushed into stackStatusgo cd id 71055screenChangeend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Map Canada",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Map Canada",on,"94,54"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  576.     </part>
  577.     <part>
  578.         <id>49</id>
  579.         <type>button</type>
  580.         <visible> <true /> </visible>
  581.         <reserved5> 0 </reserved5>
  582.         <reserved4> 0 </reserved4>
  583.         <reserved3> 0 </reserved3>
  584.         <reserved2> 0 </reserved2>
  585.         <reserved1> 0 </reserved1>
  586.         <enabled> <true /> </enabled>
  587.         <rect>
  588.             <left>338</left>
  589.             <top>120</top>
  590.             <right>405</right>
  591.             <bottom>137</bottom>
  592.         </rect>
  593.         <style>transparent</style>
  594.         <showName> <false /> </showName>
  595.         <highlight> <false /> </highlight>
  596.         <autoHighlight> <true /> </autoHighlight>
  597.         <sharedHighlight> <true /> </sharedHighlight>
  598.         <family>0</family>
  599.         <titleWidth>0</titleWidth>
  600.         <icon>0</icon>
  601.         <textAlign>center</textAlign>
  602.         <font>Chicago</font>
  603.         <textSize>12</textSize>
  604.         <textStyle>plain</textStyle>
  605.         <name>USA</name>
  606.         <script>-- Includes the LockCursor 1.02 XCMD by Jeff Winkleron mouseUpglobal dialogHelp,exportFileif dialogHelp = on then exit mouseUpif the optionKey = down thenif exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on." with OKexit mouseUpend ifput on into dialogHelpappear "World Map",on,"43,39"put off into dialogHelpLockCursor trueLockCursor crosshairsexit mouseUpend ifglobal stackStatuslock screenpush cdput pushed into stackStatusgo cd id 72031screenChangeend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Map USA",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Map USA",on,"90,44"if dialogHelp = on then put 1 into inFlagend mouseEnteron worldMapglobal dialogHelp,exportFileif exportFile ‚↠empty thenanswer "This option can't be selected while exporting is on." with OKexit worldMapend ifput on into dialogHelpappear "World Map",on,"43,39"put off into dialogHelpLockCursor trueLockCursor crosshairsend worldMap</script>
  607.     </part>
  608.     <part>
  609.         <id>50</id>
  610.         <type>button</type>
  611.         <visible> <true /> </visible>
  612.         <reserved5> 0 </reserved5>
  613.         <reserved4> 0 </reserved4>
  614.         <reserved3> 0 </reserved3>
  615.         <reserved2> 0 </reserved2>
  616.         <reserved1> 0 </reserved1>
  617.         <enabled> <true /> </enabled>
  618.         <rect>
  619.             <left>256</left>
  620.             <top>105</top>
  621.             <right>315</right>
  622.             <bottom>134</bottom>
  623.         </rect>
  624.         <style>transparent</style>
  625.         <showName> <false /> </showName>
  626.         <highlight> <false /> </highlight>
  627.         <autoHighlight> <true /> </autoHighlight>
  628.         <sharedHighlight> <true /> </sharedHighlight>
  629.         <family>0</family>
  630.         <titleWidth>0</titleWidth>
  631.         <icon>0</icon>
  632.         <textAlign>center</textAlign>
  633.         <font>Chicago</font>
  634.         <textSize>12</textSize>
  635.         <textStyle>plain</textStyle>
  636.         <name>Print</name>
  637.         <script>on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUpif the optionKey = down thenanswer "Print this stack?" with OK or Cancelif it = Cancel then exit mouseUpdoMenu "Print Stack..."exit mouseUpend ifif the commandKey = down thenanswer "Print this card?" with OK or Cancelif it = Cancel then exit mouseUpdoMenu "Print Card"exit mouseUpend ifdoMenu "Print Report..."end mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Print",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Print",on,"154,137"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  638.     </part>
  639.     <part>
  640.         <id>53</id>
  641.         <type>button</type>
  642.         <visible> <true /> </visible>
  643.         <reserved5> 0 </reserved5>
  644.         <reserved4> 0 </reserved4>
  645.         <reserved3> 0 </reserved3>
  646.         <reserved2> 0 </reserved2>
  647.         <reserved1> 0 </reserved1>
  648.         <enabled> <true /> </enabled>
  649.         <rect>
  650.             <left>451</left>
  651.             <top>281</top>
  652.             <right>501</right>
  653.             <bottom>333</bottom>
  654.         </rect>
  655.         <style>transparent</style>
  656.         <showName> <false /> </showName>
  657.         <highlight> <false /> </highlight>
  658.         <autoHighlight> <true /> </autoHighlight>
  659.         <sharedHighlight> <true /> </sharedHighlight>
  660.         <family>0</family>
  661.         <titleWidth>0</titleWidth>
  662.         <icon>0</icon>
  663.         <textAlign>center</textAlign>
  664.         <font>Chicago</font>
  665.         <textSize>12</textSize>
  666.         <textStyle>plain</textStyle>
  667.         <name>Help</name>
  668.         <script>-- Includes the ShowDialog 1.6 XCMD by Jay Hodgdon-- Includes the TextDialog 1.3 XCMD by Jay Hodgdonon mouseUpglobal dialogHelp,exportFile,inFlagif dialogHelp = off thenif the optionKey = down thenmainHelpexit mouseUpelseif exportFile ‚↠empty then answer¬¨"Exporting will be turned off." with "OK"put on into dialogHelpput 1 into inFlagappear "Help",on,"195,198"put "" into exportFilelock screenshow bg btn id 58show bg btn id 54screenChangeexit mouseUpend ifend ifif dialogHelp = on then helpOffif the optionKey = down then mainHelpend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Help",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Help",on,"195,198"if dialogHelp = on then put 1 into inFlagend mouseEnteron helpOffglobal dialogHelpput off into dialogHelpappear "Help",offlock screenhide bg btn id 58if bg fld id 55 = empty then hide bg btn id 54screenChangeend helpOffon mainHelpglobal scrollListShowDialog 7,129,"",Geneva,"9",scrollList,1,oneif line 1 of the result = 1 thenput line 2 of the result into lineNumTextDialog 128,Geneva,9,"128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148",lineNumwait for 5mainHelpelseif line 1 of the result = 6 thenpush cdlock screengo cd id 11706put "You can type information in these fields and put checks" &&¬¨"in the boxes by clicking on them. Select this text and press" &&¬¨quote & "Backspace" & quote && "or" && quote & "delete" & quote &&¬¨"to get rid of it. For updates, please send a 800K or 1.44MB" &&¬¨"disk to the address below." into bg fld 1screenChangeelseif line 1 of the result = 5 thensend mouseUp to cd btn id 33 of cd id 3819elseif line 1 of the result = 2 then exit mainHelpend ifend ifend ifend mainHelp</script>
  669.     </part>
  670.     <part>
  671.         <id>54</id>
  672.         <type>button</type>
  673.         <visible> <false /> </visible>
  674.         <reserved5> 0 </reserved5>
  675.         <reserved4> 0 </reserved4>
  676.         <reserved3> 0 </reserved3>
  677.         <reserved2> 0 </reserved2>
  678.         <reserved1> 0 </reserved1>
  679.         <enabled> <true /> </enabled>
  680.         <rect>
  681.             <left>224</left>
  682.             <top>100</top>
  683.             <right>236</right>
  684.             <bottom>117</bottom>
  685.         </rect>
  686.         <style>transparent</style>
  687.         <showName> <false /> </showName>
  688.         <highlight> <false /> </highlight>
  689.         <autoHighlight> <true /> </autoHighlight>
  690.         <sharedHighlight> <true /> </sharedHighlight>
  691.         <family>0</family>
  692.         <titleWidth>0</titleWidth>
  693.         <icon>3584</icon>
  694.         <textAlign>center</textAlign>
  695.         <font>Chicago</font>
  696.         <textSize>12</textSize>
  697.         <textStyle>plain</textStyle>
  698.         <name>Area/City Code Grow</name>
  699.         <script>on mouseUpglobal dialogHelpif dialogHelp = on then exit mouseUplock screenput the number of lines in fld id 55 into lineNumset the rect of fld id 55 to 196,130,item 3 of the rect of fld id 1,((lineNum * 12)+132)set the lockText of fld id 55 to trueshow fld id 55screenChangeend mouseUpon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Area Codes",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Area Codes",on,"96,119"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  700.     </part>
  701.     <part>
  702.         <id>55</id>
  703.         <type>field</type>
  704.         <visible> <false /> </visible>
  705.         <dontWrap> <false /> </dontWrap>
  706.         <dontSearch> <false /> </dontSearch>
  707.         <sharedText> <false /> </sharedText>
  708.         <fixedLineHeight> <true /> </fixedLineHeight>
  709.         <autoTab> <false /> </autoTab>
  710.         <lockText> <false /> </lockText>
  711.         <rect>
  712.             <left>196</left>
  713.             <top>130</top>
  714.             <right>238</right>
  715.             <bottom>168</bottom>
  716.         </rect>
  717.         <style>rectangle</style>
  718.         <autoSelect> <false /> </autoSelect>
  719.         <showLines> <false /> </showLines>
  720.         <wideMargins> <false /> </wideMargins>
  721.         <multipleLines> <false /> </multipleLines>
  722.         <reservedFamily> 0 </reservedFamily>
  723.         <titleWidth>0</titleWidth>
  724.         <icon>0</icon>
  725.         <textAlign>left</textAlign>
  726.         <font>Monaco</font>
  727.         <textSize>9</textSize>
  728.         <textStyle>plain</textStyle>
  729.         <textHeight>12</textHeight>
  730.         <name>Extra Area Codes</name>
  731.         <script>on mouseUplock screenhide fld id 55set the lockText of fld id 55 to falsescreenChangeend mouseUp</script>
  732.     </part>
  733.     <part>
  734.         <id>58</id>
  735.         <type>button</type>
  736.         <visible> <false /> </visible>
  737.         <reserved5> 0 </reserved5>
  738.         <reserved4> 0 </reserved4>
  739.         <reserved3> 0 </reserved3>
  740.         <reserved2> 0 </reserved2>
  741.         <reserved1> 0 </reserved1>
  742.         <enabled> <true /> </enabled>
  743.         <rect>
  744.             <left>370</left>
  745.             <top>146</top>
  746.             <right>406</right>
  747.             <bottom>182</bottom>
  748.         </rect>
  749.         <style>transparent</style>
  750.         <showName> <false /> </showName>
  751.         <highlight> <false /> </highlight>
  752.         <autoHighlight> <true /> </autoHighlight>
  753.         <sharedHighlight> <false /> </sharedHighlight>
  754.         <family>0</family>
  755.         <titleWidth>0</titleWidth>
  756.         <icon>11121</icon>
  757.         <textAlign>center</textAlign>
  758.         <font>Chicago</font>
  759.         <textSize>12</textSize>
  760.         <textStyle>plain</textStyle>
  761.         <name>Export Warning</name>
  762.         <script>on mouseUpglobal exportFile,dialogHelp,newFileif dialogHelp = on then exit mouseUpif the optionKey = down thenexportCardexit mouseUpend ifanswer "Turn off exporting to file " & quote &¬¨lastHCItem(":",exportFile) & quote & "?" with OK or Cancelif it = Cancel then exit mouseUpclose file exportFileif newFile = yes thenput "TeachText,MS Word,MacWrite" into popUpListwait for 5ShowDialog 4,131,"","","",popUpList,1put line 1 of the result into tempHolderif tempHolder = 1 then put ttxt into creAteif tempHolder = 2 then put MSWD into creAteif tempHolder = 3 then put MACA into creAteSetCreator exportFile,creAteend ifput "" into exportFilelock screenhide bg btn id 58screenChangeend mouseUpon exportCardglobal exportFile, deLimanswer "Export all this card's information? The export file you chose or created will use " & ¬¨"the delimiting character you selected." with OK or Cancelif it = Cancel then exit exportCardappear "Export Alert",on,"70,131"stackWaitwrite "-- Card Information" & return to file exportFileput "Country: "&fld id 14&return into fileStringput "Region: "&fld id 3&return after fileStringput "Time Zone: "&fld id 2&return after fileStringput "Dial Preamble: "&fld id 16&return after fileStringput "Country Code: "&fld id 13&return after fileStringput "Area/City Code: "&fld id 1&return after fileStringwrite fileString to file exportFileif bg fld id 55 ‚↠empty thenwrite "Extra Area/City Codes: " to file exportFilerepeat with x = 1 to the number of lines in bg fld id 55if x = the number of lines in bg fld id 55 thenwrite line x of bg fld id 55 & return to file exportFileelsewrite line x of bg fld id 55 & "," to file exportFileend ifend repeatend ifwrite "-- ZIP Codes/Locations" & return to file exportFilerepeat with x = 1 to the number of lines in bg fld id 4if bg fld id 30 = empty thenwrite line x of bg fld id 4 & return to file exportFileelsewrite line x of bg fld id 30 & deLim & line x of bg fld id 4 & return to file exportFileend ifend repeatappear "Export Alert",offbeepend exportCardon mouseLeaveglobal dialogHelp,inFlagif (inFlag = 1) and (dialogHelp = on) then appear "Export Off",offput 0 into inFlagend mouseLeaveon mouseEnterglobal dialogHelp,inFlagif dialogHelp = on then appear "Export Off",on,"96,119"if dialogHelp = on then put 1 into inFlagend mouseEnter</script>
  763.     </part>
  764.     <part>
  765.         <id>59</id>
  766.         <type>button</type>
  767.         <visible> <true /> </visible>
  768.         <reserved5> 0 </reserved5>
  769.         <reserved4> 0 </reserved4>
  770.         <reserved3> 0 </reserved3>
  771.         <reserved2> 0 </reserved2>
  772.         <reserved1> 0 </reserved1>
  773.         <enabled> <true /> </enabled>
  774.         <rect>
  775.             <left>410</left>
  776.             <top>142</top>
  777.             <right>427</right>
  778.             <bottom>158</bottom>
  779.         </rect>
  780.         <style>transparent</style>
  781.         <showName> <false /> </showName>
  782.         <highlight> <false /> </highlight>
  783.         <autoHighlight> <false /> </autoHighlight>
  784.         <sharedHighlight> <false /> </sharedHighlight>
  785.         <family>0</family>
  786.         <titleWidth>0</titleWidth>
  787.         <icon>11124</icon>
  788.         <textAlign>center</textAlign>
  789.         <font>Chicago</font>
  790.         <textSize>12</textSize>
  791.         <textStyle>plain</textStyle>
  792.         <name>FastScroll Up</name>
  793.         <script>-- Includes the FastScroll XFCN by Jeff Winkleron mouseDownset the icon of me to "FastScroll Up Inverse"put 3 into scrollAmtif the optionKey = down then put 12 into scrollAmtset the scroll of bg fld id 4 to FastScroll (Locations,up,scrollAmt,"¬© Jeff Winkler")go cdend mouseDownon mouseUpset the icon of me to "FastScroll Up"end mouseUp</script>
  794.     </part>
  795.     <part>
  796.         <id>60</id>
  797.         <type>button</type>
  798.         <visible> <true /> </visible>
  799.         <reserved5> 0 </reserved5>
  800.         <reserved4> 0 </reserved4>
  801.         <reserved3> 0 </reserved3>
  802.         <reserved2> 0 </reserved2>
  803.         <reserved1> 0 </reserved1>
  804.         <enabled> <true /> </enabled>
  805.         <rect>
  806.             <left>410</left>
  807.             <top>259</top>
  808.             <right>427</right>
  809.             <bottom>275</bottom>
  810.         </rect>
  811.         <style>transparent</style>
  812.         <showName> <false /> </showName>
  813.         <highlight> <false /> </highlight>
  814.         <autoHighlight> <false /> </autoHighlight>
  815.         <sharedHighlight> <false /> </sharedHighlight>
  816.         <family>0</family>
  817.         <titleWidth>0</titleWidth>
  818.         <icon>11123</icon>
  819.         <textAlign>center</textAlign>
  820.         <font>Chicago</font>
  821.         <textSize>12</textSize>
  822.         <textStyle>plain</textStyle>
  823.         <name>FastScroll Down</name>
  824.         <script>-- Includes the FastScroll XFCN by Jeff Winkleron mouseDownset the icon of me to "FastScroll Down Inverse"put 3 into scrollAmtif the optionKey = down then put 12 into scrollAmtset the scroll of bg fld id 4 to FastScroll (Locations,down,scrollAmt,"¬© Jeff Winkler")go cdend mouseDownon mouseUpset the icon of me to "FastScroll Down"end mouseUp</script>
  825.     </part>
  826.     <name>Area/Zip Codes Bkgnd</name>
  827.     <script>-- Includes the LockCursor 1.02 XCMD by Jeff Winkleron openCardset the scroll of fld 8 to 0set the scroll of fld 7 to 0if the number of lines in fld id 55 = 0 thenhide bg btn id 54elseshow bg btn id 54end ifend openCardon idleglobal dialogHelpif dialogHelp = on thenLockCursor trueLockCursor helpcursorelseif "World Map" is in the windows thenif the visible of window "World Map" = false thenLockCursor trueLockCursor pointerend ifend ifend ifif (the scroll of bg fld 8 mod 12) ‚↠0 then set the scroll of bg fld ¬¨8 to (the scroll of bg fld 8-(the scroll of bg fld 8 mod 12))set the scroll of fld 7 to the scroll of fld 8if the screenRect = "0,0,512,342" and the rect of cd window = "0,0,512,342" thenif the mouseLoc is within "10,0,437,18" thenshow menuBarelsehide menuBarend ifend ifpass idleend idleon closeCardif the visible of fld id 55 = true then send mouseUp to fld id 55end closeCardon arrowKey directionglobal dialogHelpif dialogHelp = on then exit arrowKeyif direction = right then send mouseUp to bkgnd btn id 10if direction = left then send mouseUp to bkgnd btn id 11if the foundText is not empty then click at 40,40if direction = down thenput the scroll of fld 8 into scrollNumput ((the number of lines in fld 8) * 12)-132 into scrollMaxif (scrollMax - scrollNum) > 132 thenadd 132 to scrollNumlock screenset the scroll of fld 8 to scrollNumset the scroll of fld 7 to scrollNumscreenChangeelselock screenset the scroll of fld 8 to scrollMaxset the scroll of fld 7 to scrollMaxscreenChangeend ifend ifif direction is up thenput the scroll of fld 8 into scrollNumif (the scroll of fld 8) > 132 thensubtract 132 from scrollNumlock screenset the scroll of fld 8 to scrollNumset the scroll of fld 7 to scrollNumscreenChangeelselock screenset the scroll of fld 8 to 0set the scroll of fld 7 to 0screenChangeend ifend ifend arrowKeyon mouseDownInPicture thePicture,thePointif (World is not in thePicture) and (Alert is not in thePicture) thenclose window thePictureend ifif Alert is in thePicture then hide window thePictureif thePicture = "World Map" thenLockCursor stackwatchif thePoint is within "2,250,423,280" thenclose window "World Map"exit mouseDownInPictureend ifif thePoint is within "0,0,160,214" thenif thePoint is within "55,97,60,102" then goC 4834,"San Francisco"if thePoint is within "119,88,124,93" then goC 5059,"New York"if thePoint is within "59,106,64,111" then goC 4834,90000if thePoint is within "76,97,81,102" then goC 7467,Denverif thePoint is within "34,60,38,65" then goC 33735if thePoint is within "111,93,116,98" then goC 2824if thePoint is within "74,77,79,82" then goC 16689if thePoint is within "33,59,38,64" then goC 33735if thePoint is within "111,83,116,88" then goC 37891if thePoint is within "130,204,135,209" then goC 14880if thePoint is within "104,167,109,172" then goC 66567if thePoint is within "124,180,129,185" then goC 25669if thePoint is within "80,125,85,130" then goC 65078if thePoint is within "141,171,146,176" then goC 27846if thePoint is within "110,147,115,152" then goC 32019if thePoint is within "147,185,152,190" then goC 58127if thePoint is within "119,138,124,143" then goC 56576end ifif thePoint is within "187,0,418,219" thenif thePoint is within "189,95,194,100" then goC 51603if thePoint is within "382,200,387,205" then goC 57110if thePoint is within "215,93,220,98" then goC 63613if thePoint is within "203,81,208,86" then goC 59958if thePoint is within "195,93,200,98" then goC 67128if thePoint is within "210,83,215,88" then goC 54196if thePoint is within "214,76,219,81" then goC 84321if thePoint is within "333,93,338,98" then goC 79566if thePoint is within "345,109,350,114" then goC 81058if thePoint is within "235,112,240,117" then goC 83415if thePoint is within "288,125,293,130" then goC 43473if thePoint is within "191,107,197,112" then goC 14783if thePoint is within "198,74,203,79" then goC 70087if thePoint is within "206,74,211,79" then goC 44589if thePoint is within "202,144,207,149" then goC 90037if thePoint is within "212,61,217,66" then goC 66537if thePoint is within "333,161,338,166" then goC 43649if thePoint is within "367,98,372,103" then goC 64182if thePoint is within "352,96,357,101" then goC 64592if thePoint is within "411,211,416,216" then goC 66265if thePoint is within "232,190,237,195" then goC 91955if thePoint is within "373,207,378,212" then goC 19331if thePoint is within "339,195,344,200" then goC 76515if thePoint is within "243,142,248,147" then goC 17626if thePoint is within "227,57,232,62" then goC 18103if thePoint is within "337,120,342,125" then goC 43225if thePoint is within "293,114,298,119" then goC 55521if thePoint is within "260,99,265,104" then goC 43820if thePoint is within "250,104,255,109" then goC 39918if thePoint is within "241,154,246,159" then goC 88457if thePoint is within "254,112,259,117" then goC 46539if thePoint is within "322,144,327,149" then goC 28702if thePoint is within "281,118,286,123" then goC 90207if thePoint is within "346,130,351,135" then goC 51364if thePoint is within "228,85,233,90" then goC 91243if thePoint is within "255,120,260,125" then goC 91578if thePoint is within "222,202,227,207" then goC 52848if thePoint is within "327,150,332,155" then goC 52714if thePoint is within "298,143,303,148" then goC 48444if thePoint is within "219,61,224,66" then goC 92455if thePoint is within "347,118,352,123" then goC 68784if thePoint is within "324,135,329,141" then goC 54907if thePoint is within "236,93,241,98" then goC 55626if thePoint is within "265,118,270,123" then goC 93914if thePoint is within "222,160,227,165" then goC 95190end ifLockCursor crosshairsend ifend mouseDownInPictureon goC cardId,findStuffgo cd id cardIdif findStuff ‚↠empty thenif findStuff is not a number thenfind string findStuff in bg fld id 4elsefind string findStuff in bg fld id 30set the scroll of fld 8 to the scroll of fld 7end ifend ifclose window "World Map"end goC</script>
  828. </background>
  829.